﻿<Window x:Class="Finaltec.Hart.Analyzer.View.AboutDialog"
               xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
               xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
               Title="About Hart Analyzer" 
        xmlns:resx="clr-namespace:Finaltec.Hart.Analyzer.ViewModel.Properties;assembly=Finaltec.Hart.Analyzer.ViewModel"
        Background="{StaticResource DefaultWindowBackground}"
               Icon="/Hart.Analyzer;component/Images/Icon.ico"
               MinWidth="500" MinHeight="350" WindowStartupLocation="CenterOwner"
               MaxWidth="500" MaxHeight="350">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="120" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="100" />
            <RowDefinition Height="*" />
            <RowDefinition Height="20" />
        </Grid.RowDefinitions>
        <Image Source="Resources\Icon.png" />
        <StackPanel Grid.Column="1" VerticalAlignment="Center">
            <TextBlock FontSize="17" FontWeight="Bold">Hart Analyzer</TextBlock>
            <TextBlock FontWeight="Bold" Text="{Binding ProductVersion}" />
        </StackPanel>
        <StackPanel Grid.Column="1" Grid.Row="1">
            <Border>
                <TextBlock TextWrapping="Wrap">
         Coordinated by Jan Schubert<LineBreak />
         Developed and designed by Sebastian Kruse and Jan Schubert<LineBreak />
         <LineBreak />
                </TextBlock>
            </Border>
            <TextBlock Margin="0,0,0,2">Used software</TextBlock>
            <Border BorderThickness="1" Background="White" BorderBrush="DarkGray" Grid.Column="1" Grid.Row="1" Padding="5" Margin="0,0,20,0">
                <TextBlock TextWrapping="Wrap">
         Finaltec.Communication.HartLite (v0.5.3)<LineBreak />
         log4net (v1.2.10.0)<LineBreak />
         <LineBreak />
                </TextBlock>
            </Border>
        </StackPanel>
        <StatusBar Grid.Row="2" Grid.ColumnSpan="2" Background="{StaticResource DefaultMenuBackground}">
            <StatusBarItem HorizontalAlignment="Right">
                <Hyperlink FontSize="11" FontWeight="Bold" NavigateUri="{Binding Source={x:Static resx:Settings.Default}, Path=Website}" RequestNavigate="Hyperlink_OnRequestNavigate" TextDecorations="None">hartanalyzer.codeplex.com</Hyperlink>
            </StatusBarItem>
        </StatusBar>
    </Grid>
</Window>